package net.jescort.domain.util;

import net.jescort.domain.user.User;

public class UserUtil
{
    private static ThreadLocal<User> currentUser = new ThreadLocal<User>();
    
    public static void setCurrentUser(User user)
    {
        currentUser.set(user);
    }
    
    public static User getCurrentUser()
    {
        return currentUser.get();
    }
}
